package animation8.view.xiaomage.com.viewanimation8

import android.animation.TypeEvaluator
import android.util.Log

/**
 * Created by Administrator on 2017/12/25.
 */
class CharEvaluator:TypeEvaluator<Char> {
    override fun evaluate(p0: Float, p1: Char, p2: Char): Char {
        val result=(p1.toInt()+(p2.toInt()-p1.toInt())*p0).toInt().toChar()
        Log.e("返回字符",result.toString())
        return result
    }
}